package com.example.dubbo.service.account;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 服务启动类
 *
 * @author NiJo_H
 * @version 1.0
 */
@EnableDubbo
@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = "com.example.dubbo.service.account")
@ComponentScan({"com.example.dubbo.service.account"})
@MapperScan({"com.example.dubbo.service.account.mapper"})
@EnableAutoConfiguration
public class AccountServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(AccountServiceApplication.class, args);
    }
}
